import axios from './http'
import base from './base'

const search = {
  getSearchResult (params) {
    return axios.get(`${base.pro}/api/seller/query`, {
      params
    })
  },
  getHotSearch (params) {
    return axios.get(`${base.pro}/api/seller/hot`, {
      params
    })
  }
}
export default search
